Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Add docs for id_param option of load_resource #728

Merged
merged 1 commit into from Feb 22, 2013

Conversation

zephyr-dev
Copy link

Added in #425 but lacked documentation

@travisbot
Copy link

This pull request passes (merged b0854c10 into b4285ae).

# [:+id_param+]
# Find using a param key other than :id. For example:
#
# load_resource :param_key => :url # will use find(params[:url])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be :id_param here not :param_key, right?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya, definitely. Will fix this on Monday.

Added in ryanb#425 but lacked documentation
@zephyr-dev
Copy link
Author

Sorry took so long to update this!

nashby added a commit that referenced this pull request Feb 22, 2013
Add docs for id_param option of load_resource
@nashby nashby merged commit ff2b632 into ryanb:master Feb 22, 2013
@nashby
Copy link
Collaborator

nashby commented Feb 22, 2013

@zephyr-dev thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants